# 存储空间 __sizeof__
l = list()
print(l.__sizeof__()) # 40 byte
t = tuple()
print(t.__sizeof__()) # 24 byte

# 运行效率
from timeit import timeit
# print(timeit('l = [1,2,3,4,5]',number=100000000)) # 2.568s
print(timeit('t = (1,2,3,4,5)', number=100000000)) # 0.939s

